package com.taotao.content.service;

import com.taotao.common.pojo.TaotaoResult;
import com.taotao.pojo.EasyUITreeNode;

import java.util.List;

public interface ContentCategoryService {
     List<EasyUITreeNode> getContentCategoryList(Long parentId)throws Exception;

    //添加分类
    TaotaoResult createContentCategory(Long parentId,String name)throws Exception;

    //更新分类名称
     void updateContentCategory(Long id,String name)throws Exception;
}
